import axios from '@/libs/request/axios'
////查询凭证埋点
export function listBuryingPoint(query,path) {
    return axios.request({
        url: `/${path}/voucherBuryingPointConfiguration/list`,
        method: 'post',
        data: query
    });
}
////查询凭证埋点
export function list(query,path) {
    return axios.request({
        url: `/${path}/voucherBuryingPointConfiguration/listBuryingPoint`,
        method: 'post',
        data: query
    });
}
//新增凭证埋点
export function addVoucherBuryingPoint(atom,path) {
    return axios.request({
        url: `/${path}/voucherBuryingPointConfiguration/addVoucherBuryingPoint`,
        method: 'post',
        data: atom
    });
}
//修改凭证埋点
export function modifyVoucherBuryingPoint(atom,path) {
    return axios.request({
        url: `/${path}/voucherBuryingPointConfiguration/modifyVoucherBuryingPoint`,
        method: 'post',
        data: atom
    });
}
//删除凭证埋点
export function delVoucherBuryingPoint(id,path) {
    return axios.request({
        url: `/${path}/voucherBuryingPointConfiguration/delVoucherBuryingPoint/${id}`,
        method: 'delete'
    });
}


